import axios from 'axios';

var NoteService = {};
// 查询updateNode信息
NoteService.search = function (index, pagesize) {
    let data = {
        pageIndex: index,
        pageSize: pagesize,
    }
    return axios.post(process.env.API_HOST + "admin/updatenote/search", data)
        .then(function (res) {
            return res;
        })
        .catch(function (error) {
            throw error;
        })
};

export default NoteService;